package com.exwave.socialgame.model_society.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * (Cityteams)实体类
 *
 * @author makejava
 * @since 2021-12-13 09:56:51
 */
@Data //Lombok自动生成get set
@ApiModel("Cityteams 帖子实体类")
public class Cityteams implements Serializable {
    private static final long serialVersionUID = -82355124368567940L;
    @ApiModelProperty("帖子ID")
    private Integer comid;
    @ApiModelProperty("贴主ID")
    private Integer userid;
    @ApiModelProperty("帖子标题")
    private String title;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("发布时间，时间戳")
    private Date ctime;
    @ApiModelProperty("主题分类ID，区分不同桌游")
    private Integer themeid;
    @ApiModelProperty("评论详细内容")
    private String content;
    @ApiModelProperty("目标集结人数")
    private Integer pnum;
    @ApiModelProperty("已经响应人数")
    private Integer cnum;
    @ApiModelProperty("预定经度")
    private Double longitude;
    @ApiModelProperty("预定维度")
    private Double latitude;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("预约时间")
    private Date ptime;
    @ApiModelProperty("约定地点")
    private String plocate;

}